<?php

class Admin_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
    	$storage = new Zend_Auth_Storage_Session();
    	$data = $storage->read();
    	if(!$data){
    		$this->_redirect('admin/Auth/login');
    	}
    	$this->view->username = $data->username;		
    }


}

